package com.jzo2o.foundations.service;

import com.jzo2o.api.foundations.dto.response.RegionSimpleResDTO;
import com.jzo2o.foundations.model.domain.Serve;
import com.jzo2o.foundations.model.domain.ServeItem;
import com.jzo2o.foundations.model.dto.response.ServeAggregationSimpleResDTO;
import com.jzo2o.foundations.model.dto.response.ServeAggregationTypeSimpleResDTO;
import com.jzo2o.foundations.model.dto.response.ServeCategoryResDTO;

import java.util.List;

/**
 * @author DarkClown
 * @date 2024-08-21 20:59
 * @project_name jzo2o-foundations
 * @parem
 **/
public interface HomeService {
    List<ServeAggregationSimpleResDTO> findHotServeListByRegionIdCache(Long regionId);

    List<ServeAggregationTypeSimpleResDTO> serveTypeList(Long regionId);

    ServeAggregationSimpleResDTO selectById(Long id);

    List<RegionSimpleResDTO>queryActiveRegionListCache();

    List<ServeCategoryResDTO>  queryServeIconCategoryByRegionIdCache(Long regionId);

    List<ServeAggregationTypeSimpleResDTO> queryServeTypeListByRegionIdCache(Long regionId);

    Serve queryServeByIdCache(Long id);

    ServeItem queryServeItemByIdCache(Long serveItemId);
}
